package com.ddone.ioc.xml.service.impl;

import com.ddone.ioc.xml.dao.UserDao;
import com.ddone.ioc.xml.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ddone
 * @date 2024/3/19-17:40
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public void login(String username, String pwd) {
        System.out.println("userDao = " + userDao);
        userDao.queryUser(username,pwd);
    }
}
